/*
 * Copyright (c) 2023-07-17
 */

package constants

type BanOperate string

const (
	CantLogin BanOperate = "禁止登录"
)

type UserPermission string

const (
	// root
	SetInstitutionManager UserPermission = "setInstitutionManager" // 管理单位管理员
	SetInstitution        UserPermission = "setInstitution"        // 管理单位
	//
)

const (
	AdminVisit UserPermission = "AdminVisit" // 浏览管理页面
	UseApp     UserPermission = "UseApp"     // 使用开单小程序,可以开单
	Judgement  UserPermission = "Judgement"  // 审核
	ExamAppeal UserPermission = "ExamAppeal" // 处理申诉
)

// UserRole 这里的角色一般指用户在驾校的角色
type UserRole string

const (
	Principal UserRole = "校长"
	FrontDesk UserRole = "前台"
	Coach     UserRole = "教练"
)
